package day_2;/*
 *@ 代阳敲的专属代码
 **/

public class A01 {
    public double max(double [] nums){
        double max=nums[0];
        for (int i = 1; i <nums.length ; i++) {
             max=Math.max(max,nums[i]);
        }
        return max;
    }
}
